<?php
	defined("C5_EXECUTE") or die(_("Access Denied."));
	$last = count($entries) - 1;
?>
<div id="hAtom<?php echo intval($bID)?>" class="hfeed headline">
	<h2><a title="<?php echo $hAtomTitle ?>" href="http://127.0.0.1/concrete/index.php/news/" class="icon"><?php echo $hAtomTitle ?></a><span class="text"><?php echo $hAtomTitle ?></span></h2>
	<ul>
		<?php foreach ($entries as $key => $entry) { ?>
			<li class="hentry<?php echo ($key == $last) ? " last": ""; ?>">
				<span class="updated" title="<?php echo $entry["updated"]; ?>"><?php echo $entry["updated"]; ?></span>
				<?php if ($entry["pagePath"]) { ?>
					<a class="entry-title" href="<?php echo View::url($entry["pagePath"])?>" rel="bookmark"><?php echo $entry["title"]; ?></a>
				<?php } else { ?>
					<span class="entry-title"><?php echo $entry["title"]; ?></span>
				<?php } ?>
			</li>
		<?php } ?>
	</ul>
</div>